const itemkey="todos-vuejs"
export default {
	fetch(){
		return JSON.parse(window.localStorage.getItem(itemkey) || "[]")
	},
	save(items){
		window.localStorage.setItem(itemkey,JSON.stringify(items))
	},
	deleteStorage(itemKey){
		window.localStorage.removeItem(itemKey)
	}
	
}

